<template>
  <div class="op_space" :style="{ gap: isNumber(size) ? size + 'px' : size }">
    <slot />
  </div>
</template>

<script setup>
import { isNumber } from 'lodash';

defineProps({
  size: {
    type: [String, Number],
    default: '',
  },
});
</script>

<style scoped lang="scss">
.op_space {
  display: flex;
}
</style>
